<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div class="box"></div>
    <button class="btn">点偶点偶</button>
    <script src="./1.js"> </script>
    <script>
        let btn = document.querySelector(".btn");
        btn.onclick = () => {

            let box = document.querySelector(".box");
            let json;
            mess("get", "./1.php", json);

            console.log(json)
            // json.forEach((item, index) => {
            //     box.innerHTML += `
            //         <li>
            //             <img src="${item.img}">
            //             <p>${item.title}</p>
            //         </li>
            //     `
            // })


        }
    </script>
</body>

</html>